#include "DXUT.h"
#include "ProxyObject.h"

ProxyObject::ProxyObject()
:minVoxelSize(1.f), r(0.f)
{
}

ProxyObject::ProxyObject(const wchar_t* texFile, const wchar_t* texNormFile, 
			const D3DXVECTOR3& size, const D3DXVECTOR3& pos)
			:texFile(texFile), texNormFile(texNormFile), size(size), pos(pos)
{
	r = D3DXVec3Length(&size)*0.5f;
}